package com.zhy.springmvc.service.intf;

import com.zhy.springmvc.entity.Task;
import com.zhy.springmvc.vo.PageBean;
import com.zhy.springmvc.vo.R;

import java.util.List;

public interface TaskService {
    R insert(Task task);

    PageBean selectAll();

    PageBean selectTaskName(String taskname);

    R selecttask(Integer flag);
}
